package cn.shengchao.wecom.wxcp.infrastructure.dao.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Builder;
import lombok.Data;

/**
 * @program: examstarapi
 * @description: 企业微信回调通知记录
 * @author: Xiong weiqiang
 * @create: 2025-05-09 15:23
 */
@Data
@TableName(value = "qywx_callback_msg")
@Builder
public class CpCallbackMsg {
    /**
     * 自增id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 消息类型
     */
    @TableField(value = "msg_type")
    private String msgType;


    /**
     * 事件类型
     */
    @TableField(value = "event")
    private String event;


    /**
     * 变更类型
     */
    @TableField(value = "change_type")
    private String changeType;


    /**
     * 消息时间
     */
    @TableField(value = "msg_create_time")
    private Long msgCreateTime;


    /**
     * 消息具体内容
     */
    @TableField(value = "msg_content_json")
    private String msgContentJson;

    /**
     * 消息状态
     */
    @TableField(value = "msg_status")
    private Integer msgStatus;
}